#Goal for this example:

#build a static library with cuda and embed it into a dynamic
#library

add_library(static_lib_to_embed STATIC static.cu static.cpp)

add_library(dynamic_lib_with_cuda_embedded dynamic.cpp)
target_link_libraries(dynamic_lib_with_cuda_embedded
                      PRIVATE static_lib_to_embed)
